<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

use App\Classes\TaoBao\TaoBaoKe;

Route::get('/', function () {
    $content = '复制这条信息，打开👉手机淘宝 👈即可看到【阿迪达斯adidas 三叶草 NMD_CS1 PARLEY PK 男 经典鞋 AC8597】￥U47C0D0PNB3￥ 
https://s.click.taobao.com/U4uFyPw';
    dd(get_tao_bao_link($content));
    $data = [
        'picUrl' => 'http://gw.alicdn.com/bao/uploaded/i2/14422498/TB2D0EqahuTBuNkHFNRXXc9qpXa_!!14422498.jpg',
        'content' => '库里4代 男女 Curry 4 全明星灰狼篮球鞋1298306-102-107-108-014',
        'detail_url' => 'https://uland.taobao.com/coupon/edetail?itemId=566214004928&activityId='
    ];
    dd(TaoBaoKe::tbkTpwdCreateRequest($data));
    // return view('welcome');
});
